package study.spring.boot;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "custom")
public class CustomProperties {

  private String propertyOne;

  public String getPropertyOne() {
    return propertyOne;
  }

  public void setPropertyOne(String propertyOne) {
    this.propertyOne = propertyOne;
  }
}
